import request from "@/utils/request";

// 查询列表
export function listErrorOrder(query) {
  return request({
    url: "/api/errorOrder/list",
    method: "get",
    params: query,
  });
}

// 修改
export function updateErrorOrder(data) {
  return request({
    url: "/api/errorOrder/update",
    method: "post",
    data: data,
  });
}
// 审批
export function approveErrorOrder(data) {
  return request({
    url: "/api/errorOrder/apply",
    method: "post",
    data: data,
  });
}

// 删除
export function delErrorOrder(data) {
  return request({
    url: "/api/errorOrder/del",
    method: "post",
    data: data,
  });
}

 
 
